package cn.wanda.bi.sunshine.platform.server.utils.exception;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * Created by wangfupeng1 on 2017-4-9.
 */
@Data
public class ClientException extends RuntimeException{

    private int status;
    private String message;
    private Object data;
    @JsonProperty("more info")
    private String moreInfo;

    public ClientException(int status, String message) {
            this.status = status;
            this.message = message;
    }
}
